const code = `
class Photo extends MediaContent {
  /**
   * @owner: User
   */
  constructor(owner) {
    this.owner = owner;
  }
  /**
   * @return: Array | 照片数组
   */
  list() {}
  /**
   * @hash: String | 从七牛返回的hash
   * @return: Int | 新照片的id
   */
  create(hash) {}
  delete(id, useSoftDelete) {}
}

class Video extends MediaContent {
  constructor(owner) {
    this.owner = owner;
  }
  /**
   * @return: Array | 视频数组
   */
  list() {}
  /**
   * @url: String | 视频的url
   * @return: Int | 新视频的id
   */
  create(url) {}
  /**
   * @id: Int
   * @useSoftDelete: Boolean
   */
  delete(id, useSoftDelete) {}
}
`.substr(1);

export default code;
